<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    let aa ='assadas'
        console.log(_.isString(aa))
    function splat(fun){
        return function(array){
            return fun.apply(null,array)
        }
    }
    let addArrayElements =splat(function(x,y){return x + y})
    console.log(addArrayElements,addArrayElements([1,2]))
</script>
</body>
</html>
